package com.syh.jn.scm.domain.supplier.repository.finance;

import com.syh.core.ddd.infrastructure.repository.CreateRepo;
import com.syh.core.ddd.infrastructure.repository.DeleteRepo;
import com.syh.core.ddd.infrastructure.repository.ReadRepo;
import com.syh.core.ddd.infrastructure.repository.UpdateRepo;
import com.syh.jn.scm.domain.supplier.entity.finance.OrderExpensesBill;

public interface OrderExpensesBillRepository extends CreateRepo<OrderExpensesBill,Long>, UpdateRepo<OrderExpensesBill,Long>, DeleteRepo<OrderExpensesBill,Long>, OrderExpensesBillReadRepository {
  /**
   * 重载update方法 选择是否更新item
   * @param orderExpensesBill 更新的订单费用表
   * @param isUpdateItem true：更新item  false：不更新item
   */
  void update(OrderExpensesBill orderExpensesBill, boolean isUpdateItem);
}
